package com.petAdoption.manager.service.impl;

import com.petAdoption.manager.entity.Neck;
import com.petAdoption.manager.mapper.NeckMapper;
import com.petAdoption.manager.service.INeckService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.petAdoption.manager.vo.NeckVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 王倩茹
 * @since 2023-08-28
 */
@Service
public class NeckServiceImpl extends ServiceImpl<NeckMapper, Neck> implements INeckService {
    @Resource
    private NeckMapper neckMapper;
    @Override
    public List<NeckVO> findAll() {
        return neckMapper.findAll();
    }
}
